package com.grj.template.boot.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.grj.template.boot.domain.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.validation.Valid;
import java.util.Date;
import java.util.List;

/**
* @author eren
* @description 针对表【user_role】的数据库操作Service
* @createDate 2024-10-23 16:11:53
*/
public interface UserRoleService extends IService<UserRole> {

    Page<UserRole> fetchUserRolePage(int currentPage, int pageSize, UserRole bean, List<Date> during);


    void delUserRoles(List<UserRole> userRoles);

    void updateUserRoles(List<UserRole> userRoles);

    List<UserRole> listAll(List<UserRole> userRoles);
}
